You can change the standard behavior of pointing devices in the program.
When you click one of the buttons on a multi-button pointing device, the program reads not only the button number but also the coordinate of the crosshairs at the time you click. By carefully constructing macros, you can choose to either ignore the coordinate or use it with the command activated by the button.